package org.codingq92.frame.spring;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

public class TestSpringBeanContext {
    public static void main(String[] args) {
        ApplicationContext context = new AnnotationConfigApplicationContext("org.codingq92.frame.spring");
        Object aClass = context.getBean("fatherClass");
        System.out.println(aClass);
    }
}
